package com.dhcc.bpm.modules.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.dhcc.bpm.modules.system.entity.Param;
import com.dhcc.bpm.modules.system.vo.ParamVO;

import java.util.List;

/**
 * @ClassName ParamMapper
 * @Description Mapper 接口
 * @Author sjm
 * @Date 2020/2/21 0021 15:16
 * @Version V1.0
 * @Copyright: 2020 东华软件 . All rights reserved.
 **/
public interface ParamMapper extends BaseMapper<Param> {

	/**
	 * @Description 自定义分页
	 * @Author sjm
	 * @Date 10:15 2020/2/22 0022
	 * @param page
	 * @param param
	 * @return java.util.List<com.dhcc.bpm.modules.system.vo.ParamVO>
	 **/
	List<ParamVO> selectParamPage(IPage page, ParamVO param);

	/**
	 * 根据key查询参数值
	 * @Author sjm
	 * @Date 18:41 2020/2/21 0021
	 * @param paramKey
	 * @return com.dhcc.bpm.modules.system.entity.Param
	 **/
	Param getParamByKey(String paramKey);

}
